CREATE EXTERNAL TABLE jms_ods.`metadata_airflow_base` (
  `create_time` string comment'创建时间',
  `dag` string comment'dag',
  `id` string  comment'任务id',
  `target_task` string  comment'sink_task',
  `source_task` string  comment'soure_task',
  `airflow_source` string comment 'airflow_source'
) COMMENT '登录日志表'
PARTITIONED BY (
  `dt` string COMMENT '创建日期 (yyyy-MM-dd)')
stored as parquet
location '/dw/hive/jms_ods.db/external/metadata_airflow_base'